package com.example.agricultural_big_data.pojo;

import java.util.List;

/**
 * @author xiao yang
 * @Description: 用户
 * @date 2021/1/3113:07
 */
public class User {
    private String userId;
    private String username;
    private String password;
    private String sex;
    private String age;
    private String name;
    private String creatTime;
    private String workType;
    private String userPic;
    private String userEmail;
    private String userPhone;
    private String userDetail;
    private List<Plantation> plantations;
    private List<String> plantationIds;



    public User(){}

    public User(String userId, String userName, String password, String sex, String age, String name, String creatTime, String workType, String userPic, String userEmail, String userPhone) {
        this.userId = userId;
        this.username = userName;
        this.password = password;
        this.sex = sex;
        this.age = age;
        this.name = name;
        this.creatTime = creatTime;
        this.workType = workType;
        this.userPic = userPic;
        this.userEmail = userEmail;
        this.userPhone = userPhone;
    }

    public List<String> getPlantationIds() {
        return plantationIds;
    }

    public void setPlantationIds(List<String> plantationIds) {
        this.plantationIds = plantationIds;
    }

    public String getUsername() {
        return username;
    }

    public String getUserDetail() {
        return userDetail;
    }

    public void setUserDetail(String userDetail) {
        this.userDetail = userDetail;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<Plantation> getPlantations() {
        return plantations;
    }

    public void setPlantations(List<Plantation> plantations) {
        this.plantations = plantations;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType;
    }

    public String getUserPic() {
        return userPic;
    }

    public void setUserPic(String userPic) {
        this.userPic = userPic;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return username;
    }

    public void setUserName(String userName) {
        this.username = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
